package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.dao.CommissionRuleDao;
import com.edt.ichannel.api.entiy.local.CommissionRule;
import com.edt.ichannel.api.service.CommissionRuleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;

@Service
public class CommissionRuleServiceImpl implements CommissionRuleService {
    @Resource
    private CommissionRuleDao commissionRuleDao;
    @Override
    public CommissionRule getCommissionRule(String productId, String cityCode, int firstMonty, Date firstDate) {
        return commissionRuleDao.getCommissionRule(productId,cityCode,firstMonty,firstDate);
    }
}
